import { IEditFormAbility } from '../ability';
import { EditFormActionType } from '../event';
import { IFormControllerParams } from './i-form-controller-params';

/**
 * 编辑表单控制器输入参数
 *
 * @export
 * @interface IEditFormControllerParams
 * @extends {(IFormControllerParams<T | EditFormActionType, A>)}
 * @template T
 * @template A
 */
export interface IEditFormControllerParams<T, A extends IEditFormAbility>
	extends IFormControllerParams<T | EditFormActionType, A> {
	/**
	 * 是否可编辑
	 *
	 * @type {boolean}
	 * @memberof IEditFormControllerParams
	 */
	isEditable: boolean;


	/**
	 * 是否自动加载
	 *
	 * @type {boolean}
	 * @memberof IEditFormControllerParams
	 */
	autoLoad?:boolean;
}
